#!/usr/env/bin python
import os
import glob

from scons_symbian import *

COMMON_DEFINES = []

def IPCPyd():
    sources  = glob.glob( "*.cpp" )
    inc      = [ EPOCROOT + r"epoc32/include/libc",
                 EPOCROOT + r"epoc32/include/python",
                 r"."
               ]
    libs = ["Python222", "euser"]

    return SymbianProgram( '_ipc', TARGETTYPE_PYD,
                            sources, inc, libs,

                            capabilities = FREE_CAPS,
                            defines      = COMMON_DEFINES )
IPCPyd()
